package com.sanley.piss.mapper;


import com.sanley.piss.model.BaseMapper;
import com.sanley.piss.model.po.Family;
import com.sanley.piss.model.vo.FamilyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 张凯大天才
 */
@Mapper
public interface FamilyMapper extends BaseMapper<Family> {
    /**
     * 关联查询所有信息
     * @return
     */
    List<Family> selectAll();

    @Override
    FamilyVO selectById(Integer id);

    void batchInsert(@Param("lists") List<Family> lists);


}